package com.rate;

import java.math.BigDecimal;

public class RateMain {

    public static void main(String[] args) {
        RateInfoEntity entity = RateInfoEntity.createNonth("100000", "0.02", 12);
        FolkRateCalc calc = new FolkRateCalc(entity);
        calc.cacl();

        RateInfoEntity entity2 = RateInfoEntity.createYear("100000", "0.06", 1);
        IntBeforeBenefits intBeforeBenefits = new IntBeforeBenefits(entity2);
        intBeforeBenefits.cacl();

    }

}
